package cn.cjj.gulimall.ware.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author CuiJunJie
 * @create 2021/7/13-15:59
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    @RequestMapping("/order/order/status/{orderSn}")
    public int getOrderStatus(@PathVariable("orderSn") String orderSn);
}
